v1

latestOpenAPI 3.0.02026-07-14643983.3 KB
Devices

Updates the On/Off Switch on a device. For new implementations please use the "actions" command

Updates the On/Off Switch on a device For new implementations please use the "actions" command

put/api/Devices/{id}

Path parameters

idstring required

The ID of the device

Query parameters

switchStateboolean required

The new state of the switch

switchNumberinteger

The number of the switch if there are multiple (1 for L1, 3 for L3)

Response

OK

Object required